function newsadd() {
    let data={
        id:$.trim($("#id").val()),
        title:$.trim($("#title").val()),
        date:$.trim($("#date").val()),
        author:$.trim($("#author").val()),
        content:$.trim($("#content").val()),
        newstype:$.trim($("#newstype").val()),
        detailed:$.trim($("#detailed").val()),
    }
    let da=myAjax("/back/news/newsAdd",data,"post");
    if (da.count==1) {
        alert("添加成功");
        $('#reght').load('../back/news/newsFindAll.html')
    }else {
        alert("添加失败");
    }
}